package javax.core.security.entity.credential;

import java.io.Serializable;

/**
 * 针对于所有系统的登陆的参数对象，可以根据不同需求进行增加 <br/>
 * {@link #account} 用户名，可以是输入用户名或登陆用的电话号码 <br/>
 * {@link #client}  记录下登陆的系统，从哪个项目的系统登录的，记录系统所属项目的名称 <br/>
 * {@link #clientType}  记录下登陆系统的种类，例如android app，ios app,  web-pc, 公众号，小程序，等等 <br/>
 */
public class AuthCredential implements Serializable {
    private static final long serialVersionUID = 5188492293550835150L;
    private String account;
    private String client;
    private String clientType;
    private Integer compId;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }

    public Integer getCompId() {
        return compId;
    }

    public void setCompId(Integer compId) {
        this.compId = compId;
    }
}
